#ifndef DRAGWIDGETFILTER_H
#define DRAGWIDGETFILTER_H

#include <QObject>
#include <qglobal.h>
#include <QEvent>
#include <QMouseEvent>
#include <QWidget>
#include <QDebug>

class DragWidgetFilter : public QObject
{
public:
    DragWidgetFilter(QObject *parent);
    bool eventFilter(QObject *watched, QEvent *event) override;
private:
    QPoint pos;
};

#endif // DRAGWIDGETFILTER_H
